package com.iams.manage.mapper;

import java.util.List;
import com.iams.manage.domain.workflow.IdentificationRecord;

/**
 * 鉴定申请记录Mapper接口
 *
 * @author LiuTao
 * @date 2025-04-11
 */
public interface IdentificationRecordMapper
{
    /**
     * 查询鉴定申请记录
     *
     * @param id 鉴定申请记录主键
     * @return 鉴定申请记录
     */
    public IdentificationRecord selectIdentificationRecordById(Long id);

    /**
     * 查询鉴定申请记录列表
     *
     * @param identificationRecord 鉴定申请记录
     * @return 鉴定申请记录集合
     */
    public List<IdentificationRecord> selectIdentificationRecordList(IdentificationRecord identificationRecord);

    /**
     * 新增鉴定申请记录
     *
     * @param identificationRecord 鉴定申请记录
     * @return 结果
     */
    public int insertIdentificationRecord(IdentificationRecord identificationRecord);

    /**
     * 修改鉴定申请记录
     *
     * @param identificationRecord 鉴定申请记录
     * @return 结果
     */
    public int updateIdentificationRecord(IdentificationRecord identificationRecord);

    /**
     * 删除鉴定申请记录
     *
     * @param id 鉴定申请记录主键
     * @return 结果
     */
    public int deleteIdentificationRecordById(Long id);

    /**
     * 批量删除鉴定申请记录
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteIdentificationRecordByIds(Long[] ids);


    public IdentificationRecord selectIdentificationRecordByBusinessKey(String businessKey);

}
